package com.tinyideatech.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tinyideatech.common.core.entity.BaseEntity;

import lombok.Data;

/**
 * @author zhangy-5
 * @date 2019-08-29
 */
@Data
@TableName("mall_member")
public class MallMember extends BaseEntity {

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId
    private Long memberId;

    private Boolean subscribe;

    private String openId;

    private String nickname;

    private String sex;

    private String city;

    private String province;

    private String country;

    private String headImgUrl;

    private Long subscribeTime;

    private String remark;

    private Integer groupId;

    // 2019-10-31 增加统计字段
    private Double sum;

    private String deviceId;

    @TableLogic
    private String delFlag;

}
